package com.xuecheng.framework.domain.learning.response;

import com.xuecheng.framework.model.response.ResponseResult;
import com.xuecheng.framework.model.response.ResultCode;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/*
* Day_15@13:获取课程学习地址
* */
@Data
@ToString
@NoArgsConstructor
public class GetMediaResult extends ResponseResult {
    //视频播放地址
    String fileUrl;

    public GetMediaResult (ResultCode resultCode,String fileUrl){
        //三件套给父类
        super(resultCode);
        //请求路径给自己
        this.fileUrl = fileUrl;
    }

}
